package com.gxa.meiye.admin.shop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxa.meiye.admin.shop.mapper.ShopInstallMapper;
import com.gxa.meiye.admin.shop.service.ShopInstallService;
import com.gxa.meiye.core.pojo.shopManagement.Shop;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author cc
 * @PackageName meiye
 * @Package com.gxa.meiye.admin.shop.service.impl
 * @Date 2022/7/25 10:55
 * @Version 1.0
 */
@Service
public class ShopInstallServiceImpl extends ServiceImpl<ShopInstallMapper, Shop> implements ShopInstallService {
    @Autowired
    private ShopInstallMapper shopInstallMapper;
    @Override
    public void editCollectionInformation(Shop shop) {
        shopInstallMapper.updateCollectionInformation(shop);
    }

    @Override
    public void editShopCompanyInformation(Shop shop) {
        shopInstallMapper.updateShopCompanyInformation(shop);
    }
}
